<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{$Think.config.sitename}</title>

<link href="__PUBLIC__/dwz/themes/default/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/dwz/themes/css/core.css" rel="stylesheet" type="text/css" />
<!--<link href="__PUBLIC__/dwz/themes/css/print.css" rel="stylesheet" type="text/css" media="print"/>-->
<link href="__PUBLIC__/dwz/uploadify/css/uploadify.css" rel="stylesheet" type="text/css" media="screen"/>

<!--[if IE]>
<link href="__PUBLIC__/dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" />
<![endif]-->

<script src="__PUBLIC__/dwz/js/speedup.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/jquery.cookie.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/jquery.validate.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/jquery.bgiframe.js" type="text/javascript"></script>

<script src="__PUBLIC__/dwz/xheditor/xheditor-1.1.9-zh-cn.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/uploadify/scripts/swfobject.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/uploadify/scripts/jquery.uploadify.v2.1.0.js" type="text/javascript"></script>

<script src="__PUBLIC__/dwz/js/dwz.core.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.util.date.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.validate.method.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.barDrag.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.drag.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.tree.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.accordion.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.ui.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.theme.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.switchEnv.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.alertMsg.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.contextmenu.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.navTab.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.tab.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.resize.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.dialog.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.dialogDrag.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.cssTable.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.stable.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.taskBar.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.ajax.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.pagination.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.database.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.datepicker.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.effects.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.panel.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.checkbox.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.history.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/dwz.combox.js" type="text/javascript"></script>

<!--自定义的编辑插件-->
<script src="__PUBLIC__/dwz/js/listTable.js" type="text/javascript"></script>
<!--tinybox插件-->
<!--<script type="text/javascript" src="__PUBLIC__/tinybox2/tinybox.js"></script>-->

<!--<script src="__PUBLIC__/dwz/bin/dwz.min.js" type="text/javascript"></script>-->
<script src="__PUBLIC__/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<!--统计插件-->
<!--[if IE]>
<script src="/Public/jqchart/excanvas-compressed.js" type="text/javascript" ></script>
<![endif]-->
<script src="/Public/jqchart/jquery.jqchart.js" type="text/javascript" charset="utf-8"></script>
<!--fck编辑器-->
<!--	<script type="text/javascript" src="__PUBLIC__/ckeditor/ckeditor.js"></script>
    <script type="text/javascript" src="__PUBLIC__ckeditor/ckfinder/ckfinder.js"></script>-->
    
<script type="text/javascript">
function fleshVerify(){
	//重载验证码
	$('#verifyImg').attr("src", '__APP__/Public/verify/'+new Date().getTime());
}
function dialogAjaxMenu(json){
	dialogAjaxDone(json);
	if (json.statusCode == DWZ.statusCode.ok){
		$("#sidebar").loadUrl("__APP__/Public/menu");
	}
}
function navTabAjaxMenu(json){
	navTabAjaxDone(json);
	if (json.statusCode == DWZ.statusCode.ok){
		$("#sidebar").loadUrl("__APP__/Public/menu");
	}
}
$(function(){
	DWZ.init("__PUBLIC__/dwz/dwz.frag.xml", {
		loginUrl:"__APP__/Public/login_dialog", loginTitle:"登录",	// 弹出登录对话框
//		loginUrl:"__APP__/Public/login",	//跳到登录页面
		statusCode:{ok:1,error:0},
		//pageInfo: {pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"},//【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"__PUBLIC__/dwz/themes"});
			
<if condition="$_REQUEST['rel']">
	window.setTimeout(function(){
		var yj_obj = {title:'', fresh:true, external:false};
		yj_obj.title = '{$_REQUEST['title']}';
		navTab.openTab('{$_REQUEST['rel']}',"__APP__/{$_REQUEST['rel']}",yj_obj);
		//$('#header').hide();
	},1000);
</if>
		}
	});
});
//清理浏览器内存,只对IE起效，FF不需要
if ($.browser.msie) {
	window.setInterval("CollectGarbage();", 10000);
}
</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" href="{$Think.config.bbsurl}">Logo</a>
				<ul class="nav">
					<li><a href="http://www.wallba.com" target="_new" >www.wallba.com</a></li>
					<li><a href="http://v3.wallba.com" target="_new" >v3.wallba.com</a></li>
					<li><a href="http://v3.wallba.com/index.php/Theme" target="_new" >v3.wallba.com/index.php/Theme</a></li>
					<li><a href="http://www.wallba.com/Home/App360/" target="_new" >wallba.com/Home/App360/</a></li>
                    <li><a href="__APP__/Public/main" target="dialog" width="580" height="360" rel="sysInfo">系统消息</a></li>
					<li><a href="__APP__/Public/password/" style="height:auto; width:auto;" height="210" width="350" target="dialog" mask="true">修改密码</a></li>
					<li><a href="__APP__/Public/profile/" target="dialog" mask="true">修改资料</a></li>
					<li><a href="__APP__/Public/logout/">退出</a></li>
				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<li theme="purple"><div>紫色</div></li>
					<li theme="silver"><div>银色</div></li>
				</ul>
			</div>
		</div>
		
		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			
			<div id="sidebar">
	            <div class="toggleCollapse"><h2>主菜单</h2><div>收缩</div></div>
				<include file="Public:menu" />
			</div>
		</div>

		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:void(0)"><span><span class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:void(0)">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent">
					<div>
						<div class="accountInfo">
							<div class="alertInfo">
								<h2><a target="_blank" href="http://wpa.qq.com/msgrd? v=3&uin={$Think.config.QQ}&site=qq&menu=yes">管理员QQ({$Think.config.QQ})</a></h2>
								<a href="mailto:{$Think.config.EMAIL}" target="_blank">管理员Email({$Think.config.EMAIL})</a>
							</div>
							<div class="right">
								<p>{$Think.now}</p>
							</div>
							<p><span>{$Think.config.sitename}</span></p>
							<p>Welcome, {$Think.session.loginUserName}</p>
						</div>
						<div class="pageFormContent" layoutH="80">
							<p>网站地址:<a href="{$Think.config.SITEURL}" target="_blank">{$Think.config.SITEURL}</a></p>
							<p>博客地址:<a href="{$Think.config.BLOGURL}" target="_blank">{$Think.config.BLOGURL}</a></p>
							<p>论坛地址:<a href="{$Think.config.BBSOURL}" target="_blank">{$Think.config.BBSOURL}</a></p>
							<p>管理后台<a href="{$Think.config.ADMINURL}" target="_blank">{$Think.config.ADMINURL}</a></p>

<div class="divider"></div>
<h2>版本介绍:</h2>
<pre style="margin: 5px; line-height: 1.4em;">
当前版本 v1.0 RC2 (基于DWZ框架v1.3RC4 + ThinkPHP2.0)
发布此版本主要是为了方便后台权限管理，提升用户体验，当然也是对自身技术的一个锻炼！
基于角色的访问控制模型（RBAC Model，Role-based Access Model）：RBAC模型的基本思想是将访问许可权分配给一定的角色，用户通过饰演不同的角色获得角色所拥有的访问许可权。
这是因为在很多实际应用中，用户并不是可以访问的客体信息资源的所有者（这些信息属于企业或公司），
这样的话，访问控制应该基于员工的职务而不是基于员工在哪个组或是谁信息的所有者，即访问控制是由各个用户在部门中所担任的角色来确定的，
例如：一个学校可以有教工、老师、学生和其他管理人员等角色。
更具系统需要，本程序将持续更新！
</pre>
							<div class="divider"></div>
							<h2>使用中有任何问题请联系管理员:</h2>
							<p style="color:red">袁吉	Email:fenglangyj@139.com	QQ:415192821</p>

						</div>

					</div>
				</div>
			</div>
		</div>

		<div id="taskbar" style="left:0px; display:none;">
			<div class="taskbarContent">
				<ul></ul>
			</div>
			<div class="taskbarLeft taskbarLeftDisabled" style="display:none;">taskbarLeft</div>
			<div class="taskbarRight" style="display:none;">taskbarRight</div>
		</div>
		<div id="splitBar"></div>
		<div id="splitBarProxy"></div>
	</div>
	
	<div id="footer">Copyright &copy; 2011 <a href="http://www.wallba.com" target="_blank">wallba.com</a></div>

<!--拖动效果-->
	<div class="resizable"></div>
<!--阴影-->
	<div class="shadow" style="width:508px; top:148px; left:296px;">
		<div class="shadow_h">
			<div class="shadow_h_l"></div>
			<div class="shadow_h_r"></div>
			<div class="shadow_h_c"></div>
		</div>
		<div class="shadow_c">
			<div class="shadow_c_l" style="height:296px;"></div>
			<div class="shadow_c_r" style="height:296px;"></div>
			<div class="shadow_c_c" style="height:296px;"></div>
		</div>
		<div class="shadow_f">
			<div class="shadow_f_l"></div>
			<div class="shadow_f_r"></div>
			<div class="shadow_f_c"></div>
		</div>
	</div>
	<!--遮盖屏幕-->
	<div id="alertBackground" class="alertBackground"></div>
	<div id="dialogBackground" class="dialogBackground"></div>

	<div id='background' class='background'></div>
	<div id='progressBar' class='progressBar'>数据加载中，请稍等...</div>
</body>
</html>